<template>
    <h3>x => {{ x }} y => {{ y }}</h3>
    <button @click="change(10,100)">改变</button>
</template>

<script lang="ts" setup>
    import hook from './hook';

    console.log(hook);
    
    const {x, y, change } = hook()
</script>